package com.demo.service.impl;

import org.springframework.stereotype.Component;
import com.alibaba.dubbo.config.annotation.Reference;
import com.demo.service.DemoServiceCon;
import com.demo.service.DemoServices;

/**
 * 消费服务实现
 * @author ch
 *
 */
@Component
public class DemoServiceConImpl implements DemoServiceCon{

	@Reference(version = "1.0.0")
	 private DemoServices demoServices;
	@Override
	public void ConService() throws Exception {
		demoServices.toProvider();

	}

}
